package com.custom.base.common

import android.app.Application
import android.content.Context
import com.alibaba.android.arouter.launcher.ARouter
import com.custom.util.MiApplication

class BaseApplication : Application() {
    lateinit var context: Context
    override fun onCreate() {
        super.onCreate()
        context = this
        //ARouter初始化
        ARouter.openLog()    // 打印日志
        ARouter.openDebug()
        ARouter.init(this)
        MiApplication.init(this)
    }

}
